public class Try {
	public static void main(String[] args) {
	  int a = 7;
		theTry:
		try	{
			if(a != 7) {
				throw new IllegalArgumentException();
			}
			System.out.println("in a try");
			for(int i = 0; i < a; ++i) {
				System.out.println("in a loop: " + Integer.toString(i));
				if(i == 5) {
					break theTry;
				}
			}
			System.out.println("shouldn't be there");
		} catch(IllegalArgumentException e) {
			e.printStackTrace();
		} finally {
			System.out.println("in a finally");
			for(int i = 0; i < a; ++i) {
				System.out.println("in a loop: " + Integer.toString(i));
				if(i == 5) {
					break theTry;
				}
			}
			System.out.println("shouldn't be there");
		}
		System.out.println("outer");

	}
}
